package com.caiyouxi.goods.mapper;

import com.caiyouxi.goods.model.GoodsDeliverService;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品自动发货服务
 * chensong
 */
@Mapper
public interface GoodsDeliverServiceMapper {
    
    int delete_goods_deliver_service(int id);
    
    int add_goods_deliver_service(GoodsDeliverService goodsDeliverService);
    
    int update_goods_deliver_service(GoodsDeliverService goodsDeliverService);

    GoodsDeliverService select_goods_deliver_service(int id);

    List<GoodsDeliverService> select_goods_deliver_service_list(GoodsDeliverService goodsDeliverService);

    int get_goods_deliver_service_count(GoodsDeliverService goodsDeliverService);

    GoodsDeliverService select_goods_deliver_service_by_goods_id(Integer goods_id);

    GoodsDeliverService select_goods_deliver_service_by_goods_category_id(Integer goods_category_id);
}
